import React from 'react';
import { Input } from 'antd';
/* eslint-disable */
const InputSearch = ({ value, placeholder, onChange, onSearch, style }) =>
  <div className="web-page-header-search-item" style={style}>
    <Input.Search
      // value={value}
      placeholder={placeholder}
      onChange={e => onChange && onChange(e.target.value)}
      onSearch={onSearch} />
  </div>
export default InputSearch;
